//为count生成action
// function createIncrementAction(data){
//     return {type:'increment',data}
// }
import {INCREMENT,DECREMENT} from '../redux/constant'
export const createIncrementAction=data=>({type:INCREMENT,data})
export const createDecrementAction=data=>({type:DECREMENT,data})
// function createDecrementAction(data){
//     return {type:'decrement',data}
// }